﻿using System;

namespace MockingBird.Common.Infrastructure.Logging
{
    public abstract class LoggerBase : ILogger
    {
        #region ILogger Members

        protected string loggerConfigFileFolder;
        protected string loggingConfigFile;
        protected ILoggingConfigurationProvider loggingConfigurationProvider;

        protected LoggerBase() { }

        protected LoggerBase(ILoggingConfigurationProvider targetLoggingConfigProvider)
        {
            this.loggingConfigurationProvider = targetLoggingConfigProvider;

        }

        public abstract void LogRequestReceived(string endpointUrl);

        public abstract void Log(string message);

        public abstract void LogInfo(string message);

        public abstract void LogWarning(string message);

        public abstract void LogError(string message, Exception ex);

        public abstract void LogFatal(string message, Exception ex);

        #endregion
    }
}
